package org.hanyx.client;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface HelloService {

    @GET("/say1")
    Call<String> say1(@Query("name") String name);

    @GET("/say2/{name}")
    Call<String> say2(@Path("name") String name);

    @GET("/say3")
    Call<String> say3(@Header("name") String name);
}
